@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="bannerInfoForm">

            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-10 b-r">

                    <#input id="citySel" name="栏目" underline="true" readonly="readonly" hidden="channelId"
                            clickFun="BannerInfoDlg.showDeptSelectTree(); return false;"
                            style="background-color: #ffffff !important;"/>

                    <div id="appShow" style="display:none;">
                        <#select id="showAppIndex" name="首页显示" underline="true">
                            <option value=2>否</option>
                            <option value=1>是</option>
                        </#select>
                    </div>

                    <#input id="title" name="标题" underline="true"/>
                    <#textarea id="detail" name="内容" underline="true" value=""/>
                    <#avatar id="titleImg" name="图片" underline="true"  avatarImg=""/>

                    <#input id="url" name="跳转链接" underline="true"/>

                    <#input id="origin" name="排序" underline="true"/>

                    <#select id="status" name="是否显示" underline="true">
                        <option value="1">是</option>
                        <option value="2">否</option>
                    </#select>



                </div>


            </div>
            <!-- 这是部门选择的下拉框 -->
            <div id="menuContent" class="menuContent"
                 style="display: none; position: absolute; z-index: 200;">
                <ul id="treeDemo" class="ztree tree-box" style="width: 249px !important;"></ul>
            </div>

            <div class="progress progress-striped" id="progressTipArea" style="margin-top: 20px;">
                <div id="progressBar" style="width: 0%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="0" role="progressbar" class="progress-bar progress-bar-info">
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="BannerInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="BannerInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/cms/banner/unBanner_info.js"></script>
@}
